<template>
  <div class="app-container">
    <el-tabs v-model="activeName" type="border-card">
      <el-tab-pane label="培训员" name="0">
        <trainer v-if="activeName == 0"></trainer>
      </el-tab-pane>
      <el-tab-pane label="培训计划" name="1">
        <training-program v-if="activeName == 1"></training-program>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import trainer from './trainer.vue';
import trainingProgram from './trainingProgram.vue';
export default {
  name: "iecturer",
  components: {
    trainer,
    trainingProgram
  },
  data() {
    return {
      // tab切换值
      activeName: '0',
    };
  },
  created() {
  },
  methods: {
  }
};
</script>
